package com.nintendo.mapper;

import com.nintendo.entity.pojo.Customer;

import java.util.List;

public interface CustomerDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    Integer findByUserName(String customerName);

    List<Customer> selectAll();

    Customer selectById(int customerId);

    void deleteById(int customerId);

    void update(Customer customer);
}